<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <link rel="shortcut icon" href="/cwp/favicon.ico" type="image/x-icon" />
    <title>首航节能-智慧园区</title>
    <!--引入CSS文件-->
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/list.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/table.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/tabs.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/paging.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/btn.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/taqs.css" />
    <link rel="stylesheet" type="text/css"href="../../../assets/css/styles/components-css/step.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/form.css" />
    <!--引入bootstrap CSS文件-->
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/bootstrap-3.3.5-dist/css/bootstrapModel.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/bootstrap-3.3.5-dist/css/bootstrap-theme.min.css" />
    <!--树形节点样式--->
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/zTree/css/zTreeStyle/zTreeStyle.css"/>
    <link rel="stylesheet" type="text/css" href="../../../assets/css/Tree/dictTree.css" />
    <!--日历控件样式-->
    <!--表单验证样式--->
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/formValidator/style/validator.css"/>
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/bootstrap-datetimepicker-master/css/bootstrap-datetimepicker.min.css" />

</head>
<body>

<!--头部文件 开始-->
<div id="header"></div>
<!--头部文件 结束-->

<div class="wrapper">
    <!--左侧菜单 开始-->
    <div id="left-menu"></div>
    <!--左侧菜单 结束-->
    <!--右侧内容 开始-->
    <div class="right-container">
        <div class="right-scroll">
            <div class="t-list">
                <div class="t-list-title">
                    <h2>系统管理 > 字典</h2>
                </div>
                <!--安列表-->
                <div class="t-list-search t-columns-4">
                    <form id="dictForm">
                        <ul class="t-columns-group">
                            <li><label>分类标识</label>
                                <div>
                                    <input type="text" placeholder="分类标识" name="dictKey">
                                </div></li>
                            <li><label>分类值</label>
                                <div>
                                    <input type="text" placeholder="分类值" name="dictValue">
                                </div></li>
                            <li><label>分类名称</label>
                                <div>
                                    <input type="text" placeholder="分类名称" name="dictName">
                                </div></li>
                            <li>
                                <div>
                                    <a class="t-btn" id="btnSearchDict"> <i
                                            class="icon-search"></i>查询
                                    </a>
                                </div>
                            </li>
                        </ul>
                    </form>
                </div>
                <div class="t-list-btns">
                    <p>请求记录</p>
                    <span id="dataTreeTotal"></span>
                    <div>
                        <a class="t-btn t-btn-blue" id="btnDictNew">新增</a>
                    </div>
                </div>
                <div class="t-list-result clearfix">
                    <ul id="dataTree"  class="ztree" >

                    </ul>
                </div>
                <div class="pagination" id="dataTreePagination"></div>
                <form id="dictDataForm">
                    <input type="hidden" id="detailDictValue" name="dictValue">
                </form>
            </div>
        </div>
    </div>
</div>
<!--版权-->
<div id="copyright"></div>
<!--新建分类-->
<div class="modal fade" id="modalDictNew" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" >新增分类</h4>
            </div>
            <form id="dictNewForm"><!-- 新增字典 -->
                <div class="modal-body">
                    <div class="t-columns-1">
                        <!-- 检索字段 -->
                        <ul class="t-columns-group">
                            <li class="width-all">
                                <label><span class="t-tip-verification">*</span>分类标识</label>
                                <div>
                                    <div class="t-stars" >
                                        <input type="text" id="dictKey">
                                    </div>
                                </div>
                            </li>
                            <li class="verify">
                                <label></label>
                                <div class="tipArea"><div id="dictKeyTip"></div></div>
                            </li>
                            <li class="width-all">
                                <label><span class="t-tip-verification">*</span>分类值 </label>
                                <div>
                                    <div class="t-stars" >
                                        <input type="text" id="dictValue">
                                    </div>
                                </div>
                            </li>
                            <li class="verify">
                                <label></label>
                                <div class="tipArea"><div id="dictValueTip"></div></div>
                            </li>
                            <li class="width-all">
                                <label><span class="t-tip-verification">*</span>分类名称 </label>
                                <div>
                                    <div class="t-stars" >
                                        <input type="text" id="dictName">
                                    </div>
                                </div>
                            </li>
                            <li class="verify">
                                <label></label>
                                <div class="tipArea"><div id="dictNameTip"></div></div>
                            </li>
                        </ul>
                    </div>
                </div>


                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" id="saveDict">保存</button>
                </div>
            </form>
        </div>
    </div>
</div>

<!--提示模态框-->
<div class="modal fade bs-example-modal-sm" id="myTip" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-body" style="text-align:center;font-size:14px;">
                <i id="icon-tip" style="margin-right:6px;"></i>
                <span class="tip-info"></span>
            </div>
        </div>
    </div>
</div>

<!--删除分类拟态框-->
<div class="modal fade bs-example-modal-sm" id="modalDelDict"
     tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">是否删除字典分类?</h4>
            </div>
            <div class="modal-body">
                <div class="t-list">
                    <div class="title" style="font-weight: bold;">
                    </div>
                    <form id="delDictForm">
                        <div class="content mt-10" style="line-height: 24px">
                            提示：删除的字典无法恢复,且该分类下的字典内容也将被删除 ,请谨慎操作!</div>
                        <input type="hidden" id="delDictValue" name="dictValue">
                    </form>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary" id="btnDeleteDict">确定</button>
            </div>
        </div>
    </div>
</div>
<!--新建字典-->
<div class="modal fade" id="modalDictDataNew" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" >字典</h4>
            </div>
            <form id="dictDataNewForm"><!-- 新增字典 -->
                <div class="modal-body">
                    <div class="t-columns-1">
                        <!-- 检索字段 -->
                        <ul class="t-columns-group">
                            <li class="width-all" style="display:none;">
                                <label>ID </label>
                                <div>
                                    <input type="text" id="dictdataId">
                                </div>
                            </li>
                            <li class="verify">
                                <label></label>
                                <div class="tipArea"><div id="dictdataIdTip"></div></div>
                            </li>
                            <li class="width-all">
                                <label><span class="t-tip-verification">*</span>分类值 </label>
                                <div>
                                    <div class="t-stars" >
                                        <input type="text" id="dictValueExt" readonly="readonly">
                                    </div>
                                </div>
                            </li>
                            <li class="verify">
                                <label></label>
                                <div class="tipArea"><div id="dictValueExtTip"></div></div>
                            </li>
                            <li class="width-all">
                                <label><span class="t-tip-verification">*</span>字典标识 </label>
                                <div>
                                    <div class="t-stars" >
                                        <input type="text" id="dictdataKey">
                                        <input type="hidden" id="hiddictdataKey">
                                    </div>
                                </div>
                            </li>
                            <li class="verify">
                                <label></label>
                                <div class="tipArea"><div id="dictdataKeyTip"></div></div>
                            </li>
                            <li class="width-all">
                                <label>字典值 </label>
                                <div>
                                    <input type="text" id="dictdataValue">
                                </div>
                            </li>
                            <li class="verify">
                                <label></label>
                                <div class="tipArea"><div id="dictdataValueTip"></div></div>
                            </li>
                            <li class="width-all">
                                <label><span class="t-tip-verification">*</span>字典名称 </label>
                                <div>
                                    <div class="t-stars" >
                                        <input type="text" id="dictdataName">
                                    </div>
                                </div>
                            </li>
                            <li class="verify">
                                <label></label>
                                <div class="tipArea"><div id="dictdataNameTip"></div></div>
                            </li>
                        </ul>
                    </div>
                </div>


                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" id="saveDictData">保存</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!-- 删除字典 -->
<div style="display:none;">
    <form id="delDictDataForm">
        <input type="hidden" id="delDictDataId" name="dictDataId">
    </form>
</div>
<!--jQuery库脚本-->
<!--jQuery库脚本-->
<!--非IE8浏览器-->
<!--[if !(IE 8)]><!--><script type="text/javascript" src="../../../assets/lib/jquery/jquery.min.js"></script><!--<![endif]-->
<!--IE8浏览器-->
<!--[if IE 8]><script type="text/javascript" src="../../../assets/lib/jquery/jquery-ie8.min.js"></script><![endif]-->
<script type="text/javascript" src="../../../assets/lib/jquery/jquery.min.js"></script>
<script type="text/javascript" src="../../../assets/lib/jQuery-slimScroll-1.3.8/jquery.slimscroll.min.js"></script>
<script src="../../../assets/common/loadHeaderAndCopyright.js"></script>
<script src="../../../assets/lib/bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>
<!--表单验证-->
<script src="../../../assets/lib/formValidator/formValidator.js"></script>
<script src="../../../assets/lib/formValidator/formValidatorRegex.js"></script>
<!--分页脚本-->
<script src="../../../assets/lib/pagination/1.2.1/jquery.pagination.js"></script>
<script src="../../../assets/common/loaderTable.js"></script>
<script src="../../../assets/common/ajaxPoster.js"></script>
<script src="../../../assets/common/centerModal.js"></script>
<script src="../../../assets/lib/tipModal/js/tipModal.js"></script>
<!--树形节点-->
<script charset="utf-8" src="../../../assets/lib/zTree/js/jquery.ztree.core.js"></script>
<script charset="utf-8" src="../../../assets/lib/zTree/js/jquery.ztree.excheck.js"></script>
<script src="../../../assets/common/loaderTree.js"></script>
<!-- 字典 -->
<script src="../../../js/systemManagement/dictManagement/dictNew.js"></script>
<!--模板引擎-->
<script src="../../../assets/lib/artTemplate/template.js"></script>
<script src="../../../assets/common/loaderTableTmpl.js"></script>
</body>
</html>